package com.deep.deepenterpise.common.enums;

import lombok.Getter;

/**
 * @author xyz
 * @version 1.0
 * @title DrCategoryEnum
 * @description
 * @create 2024/5/20 16:18
 */
@Getter
public enum DrCategoryEnum {
    CHECK_BOTTLE(1),
    CHECK_HOUSE(2),
    CHECK_STATION(3);

    private final Integer drType;

    DrCategoryEnum(Integer drType) {
        this.drType = drType;
    }


    public boolean compare(Integer drType) {
        return this.drType.equals(drType);
    }

    public boolean compare(DrCategoryEnum drTypeEnum) {
        return this.compare(drTypeEnum.getDrType());
    }
}
